package battleline;



public class CartaTropa extends Carta {

	private int valor;
	private Color color;
	
	public CartaTropa(int valor,Color color ){
		this.valor=valor;
		this.color=color;
	}
	
	public int getValor() {
		return valor;
	}

	public void setValor(int valor) {
		this.valor = valor;
	}

	

	public Color getColor() {
		return color;
	}

	public void setColor(Color color) {
		this.color = color;
	}

	/** 
	 * @uml.property name="color1"
	 * @uml.associationEnd inverse="cartaTropa:battleline.Color"
	 */
	private Color color1;

	/** 
	 * Getter of the property <tt>color1</tt>
	 * @return  Returns the color1.
	 * @uml.property  name="color1"
	 */
	public Color getColor1() {
		return color1;
	}

	/** 
	 * Setter of the property <tt>color1</tt>
	 * @param color1  The color1 to set.
	 * @uml.property  name="color1"
	 */
	public void setColor1(Color color1) {
		this.color1 = color1;
	}

}